home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / 1994.12.gz / 1994.12 / 000105_schrod@iti.inf…th-darmstadt.de_Wed Dec 28 19:38:07 1994.msg < prev    next >
Internet Message Format  |  1994-12-30  |  7KB

  1. Received: from rs2.hrz.th-darmstadt.de by cs.umb.edu with SMTP id AA18059
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Wed, 28 Dec 1994 12:38:17 -0500
  3. Received: from hp5.iti.informatik.th-darmstadt.de by rs2.hrz.th-darmstadt.de with SMTP id AA13198
  4.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Wed, 28 Dec 1994 18:38:07 +0100
  5. Received: from spice.iti.informatik.th-darmstadt.de by hp5.iti.informatik.th-darmstadt.de (8.6.9/Server-1.5/HRZ-THD/8.6.9u-ITI)
  6.     id SAA08922; Wed, 28 Dec 1994 18:38:06 +0100
  7. Received: by spice.iti.informatik.th-darmstadt.de (8.6.9/Client-1.5+iti/HRZ-THD)
  8.     id SAA20620; Wed, 28 Dec 1994 18:38:07 +0100
  9. From: Joachim Schrod <schrod@iti.informatik.th-darmstadt.de>
  10. Message-Id: <199412281738.SAA20620@spice.iti.informatik.th-darmstadt.de>
  11. Subject: kpathsea 2.5
  12. To: tex-k@cs.umb.edu (web2c mailing list)
  13. Date: Wed, 28 Dec 1994 18:38:07 +0100 (MEZ)
  14. X-Mailer: ELM [version 2.4 PL24]
  15. Content-Type: text
  16. Content-Length: 5571      
  17.  
  18. Minor stuff for kpathsea 2.5:
  19.  
  20.     * version.c: still mentions 2.4 as version number.
  21.         No patch below.
  22.  
  23.     * Makefile.in: still mentions 2.4 as version number.
  24.         No patch below.
  25.  
  26.     * Makefile.in: should use kpathsea_srcdir for dependencies and
  27.     paths.h, in case installed library & headers shall be used.
  28.     (That would be changed in common.make, at the kpathsea_dir
  29.     binding. But then the created Makefile in kpathsea/ does not
  30.     work.)
  31.         No patch below.
  32.  
  33.     * Makefile.in: A potential portability problem is the
  34.     placement of @LIBOBJS@ on a line by itself. Some makes (e.g.,
  35.     on HP-SUX) can't handle empty continuation lines. If basename()
  36.     is available on a machine, there will be an empty continuation
  37.     line. So it's better to move something behind @LIBOBJS@, e.g.,
  38.     $(malloc).
  39.         Note that this is only a potential problem, it didn't
  40.     occur actually. On machines that have defect makes, basename()
  41.     is typically not available...
  42.         Patch below.
  43.  
  44.     * texmf.cnf.in: The placement of texmf.cnf in $TEXMF is
  45.     against the TDS guidelines. One should place it in a utility
  46.     specific directory, i.e., in $TEXMF/web2c/.
  47.         Patch below.
  48.  
  49. On a related topic, MakeTeXPK:
  50.  
  51.     * How about adding MakeTeXPK.in to kpathsea? After all, it's
  52.     called from code of this module and should be the same for all
  53.     drivers anyhow. Then changes to MakeTeXPK could be concentrated
  54.     there.
  55.  
  56.     * MakeTeXPK.site is searched in @psheaderdir@, i.e.,
  57.     $TEXMF/dvips/. While this is understandable from MakeTeXPK's
  58.     history (coming from dvips), I think it would be better to
  59.     place it in $TEXMF/web2c/. 
  60.         Patch below.
  61.     
  62.     * MakeTeXPK is installed by INSTALL_PROGRAM. Please introduce
  63.     a new make variable, INSTALL_SCRIPT. I use '$(INSTALL) -s'
  64.     (strip program) as the value of INSTALL_PROGRAM, and that
  65.     barfs.
  66.         The patch below is incomplete, as I don't know enough
  67.     about configure to add INSTALL_SCRIPT support there.
  68.  
  69. Cheers,
  70.     Joachim
  71.  
  72. ---------------- start of patch
  73. diff -rc2w ./kpathsea/MakeTeXPK.in /shared/source/tex-src/kpathsea/MakeTeXPK.in
  74. *** ./kpathsea/MakeTeXPK.in    Thu Dec 22 20:31:11 1994
  75. --- /shared/source/tex-src/kpathsea/MakeTeXPK.in    Fri Dec 23 19:37:23 1994
  76. ***************
  77. *** 132,137 ****
  78.   
  79.   # Possible local customizations?
  80. ! test -r @psheaderdir@/MakeTeXPK.site \
  81. !   && . @psheaderdir@/MakeTeXPK.site
  82.   
  83.   # Remember where we were for the paths. We'd most like to replace `.',
  84. --- 132,137 ----
  85.   
  86.   # Possible local customizations?
  87. ! test -r @web2cdir@/MakeTeXPK.site \
  88. !   && . @web2cdir@/MakeTeXPK.site
  89.   
  90.   # Remember where we were for the paths. We'd most like to replace `.',
  91. diff -rc2w ./kpathsea/Makefile.in /shared/source/tex-src/kpathsea/Makefile.in
  92. *** ./kpathsea/Makefile.in    Wed Dec 14 21:54:56 1994
  93. --- /shared/source/tex-src/kpathsea/Makefile.in    Fri Dec 23 19:40:29 1994
  94. ***************
  95. *** 31,36 ****
  96.   readable.o rm-suffix.o str-list.o str-llist.o tex-glyph.o tex-make.o     \
  97.   tilde.o truncate.o uppercasify.o variable.o version.o xcalloc.o xfopen.o \
  98. ! xmalloc.o xopendir.o xputenv.o xrealloc.o xstat.o xstrdup.o $(malloc)     \
  99. ! @LIBOBJS@
  100.   
  101.   library = kpathsea
  102. --- 31,36 ----
  103.   readable.o rm-suffix.o str-list.o str-llist.o tex-glyph.o tex-make.o     \
  104.   tilde.o truncate.o uppercasify.o variable.o version.o xcalloc.o xfopen.o \
  105. ! xmalloc.o xopendir.o xputenv.o xrealloc.o xstat.o xstrdup.o     \
  106. ! @LIBOBJS@ $(malloc)
  107.   
  108.   library = kpathsea
  109. diff -rc2w ./kpathsea/texmf.cnf.in /shared/source/tex-src/kpathsea/texmf.cnf.in
  110. *** ./kpathsea/texmf.cnf.in    Sat Sep  3 19:05:17 1994
  111. --- /shared/source/tex-src/kpathsea/texmf.cnf.in    Thu Dec 22 20:31:39 1994
  112. ***************
  113. *** 104,106 ****
  114.   % This definition isn't used from this .cnf file itself (that would be
  115.   % paradoxical), but the compile-time default in paths.h is built from it.
  116. ! TEXMF_CNF = .:@texmf@
  117. --- 104,106 ----
  118.   % This definition isn't used from this .cnf file itself (that would be
  119.   % paradoxical), but the compile-time default in paths.h is built from it.
  120. ! TEXMF_CNF = .:@texmf@/web2c
  121. diff -rc2w ./make/common.make /shared/source/tex-src/make/common.make
  122. *** ./make/common.make    Wed Dec 14 21:54:58 1994
  123. --- /shared/source/tex-src/make/common.make    Thu Dec 22 20:31:39 1994
  124. ***************
  125. *** 21,24 ****
  126.   INSTALL = @INSTALL@
  127.   INSTALL_PROGRAM = @INSTALL_PROGRAM@
  128.   INSTALL_DATA = @INSTALL_DATA@
  129.   
  130. --- 21,25 ----
  131.   INSTALL = @INSTALL@
  132.   INSTALL_PROGRAM = @INSTALL_PROGRAM@
  133. + INSTALL_SCRIPT = $(INSTALL)
  134.   INSTALL_DATA = @INSTALL_DATA@
  135.   
  136. diff -rc2w ./make/tmtpk.make /shared/source/tex-src/make/tmtpk.make
  137. *** ./make/tmtpk.make    Wed Dec 14 21:55:08 1994
  138. --- /shared/source/tex-src/make/tmtpk.make    Thu Dec 22 20:33:02 1994
  139. ***************
  140. *** 6,9 ****
  141. --- 6,10 ----
  142.       sed -e 's,@datadir@,$(datadir),g' \
  143.           -e 's,@psheaderdir@,$(psheaderdir),g' \
  144. +         -e 's,@web2cdir@,$(texmf)/web2c,g' \
  145.           -e 's,@fontnamedir@,$(fontnamedir),g' \
  146.           -e 's,@fontdir@,$(fontdir),g' \
  147. ***************
  148. *** 18,22 ****
  149.       if grep 'original MakeTeXPK --' $(scriptdir)/MakeTeXPK >/dev/null 2>&1\
  150.          || test ! -r $(scriptdir)/MakeTeXPK; then            \
  151. !       $(INSTALL_PROGRAM) MakeTeXPK $(scriptdir)/MakeTeXPK;    \
  152.       else true; fi
  153.   
  154. --- 19,23 ----
  155.       if grep 'original MakeTeXPK --' $(scriptdir)/MakeTeXPK >/dev/null 2>&1\
  156.          || test ! -r $(scriptdir)/MakeTeXPK; then            \
  157. !       $(INSTALL_SCRIPT) MakeTeXPK $(scriptdir)/MakeTeXPK;    \
  158.       else true; fi
  159.   
  160. ---------------- end of patch
  161.  
  162.  
  163. --
  164. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  165. Joachim Schrod            Email: schrod@iti.informatik.th-darmstadt.de
  166. Computer Science Department
  167. Technical University of Darmstadt, Germany